projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fdec9
)
(send_process): If fpathconf fails, use 250.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 21 Apr 1994 19:54:28 +0000
(19:54 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 21 Apr 1994 19:54:28 +0000
(19:54 +0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index c77b537b664e65d0be4351ce846f2a6ecae4824e..f33339f5e22115a42fec2e5d5e4dbb7186e32dbf 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2300,6
+2300,8
@@
send_process (proc, buf, len)
#if defined (HAVE_FPATHCONF) && defined (_PC_MAX_CANON)
pty_max_bytes = fpathconf (XFASTINT (XPROCESS (proc)->outfd),
_PC_MAX_CANON);
+ if (pty_max_bytes < 0)
+ pty_max_bytes = 250;
#else
pty_max_bytes = 250;
#endif